package com.wm.dao;

import com.wm.po.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @Author: sshdg
 * @Date: 2021/5/29 17:11
 */
@Component
public interface UserDao extends ElasticsearchRepository<User, String> {
    @Override
    Page<User> findAll(Pageable pageable);



}

